package com.zpf.service.impl;

import com.zpf.dao.TypeDao;
import com.zpf.dao.impl.TypeDaoimpl;
import com.zpf.pojo.Type;
import com.zpf.service.TypeService;

import java.util.List;

public class TypeServiceImpl implements TypeService {
    TypeDao typeDao = new TypeDaoimpl();
    @Override
    public List<Type> findAllType() {
        List<Type> list = typeDao.findAll();
        return list;
    }
}
